package com.authine.cloudpivot.web.api.secondopen.domain;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Table(name = "i_budget_log")
public class BudgetLog {
    /**
     * 流程id
     */
    @Column(name = "processId")
    private String processId;

    /**
     * 流程类型(1.月度预算调整 2.月度预算追加 3.月度预算减少 4.零星票据报销单 5.汇款申请单 6.差旅费报销单 7.外埠行车报销单)
     */
    @Column(name = "processType")
    private String processType;

    /**
     * 年份
     */
    private String year;

    /**
     * 月份
     */
    private String month;

    /**
     * 一级账户名称
     */
    @Column(name = "oneSubject")
    private String oneSubject;

    /**
     * 分帐户名称
     */
    @Column(name = "twoSubject")
    private String twoSubject;

    /**
     * 费用归属部门
     */
    @Column(name = "belongDepart")
    private String belongDepart;

    /**
     * 费用填报部门
     */
    @Column(name = "fillInDepart")
    private String fillInDepart;

    /**
     * 成本中心
     */
    @Column(name = "costCenter")
    private String costCenter;

    /**
     * 增加额度
     */
    @Column(name = "increaseLimit")
    private BigDecimal increaseLimit;

    /**
     * 减少额度
     */
    @Column(name = "reductionLimit")
    private BigDecimal reductionLimit;

    @Column(name = "createdTime")
    private Date createdTime;

    @Column(name = "createdBy")
    private String createdBy;

    @Column(name = "modifiedTime")
    private Date modifiedTime;

    @Column(name = "modifiedBy")
    private String modifiedBy;
}